import request from "./request"
//请求订单接口
function getorders(params){
    return request.get("orders",{params})
}
//请求统计图接口
function getreports(){
    return request.get("reports/type/1")
}
// 请求添加商品列表
function getgoods(params){
    return request.post("goods",params)
}
//层级联动
function getcategories() {
    return request.get("categories")
}

export {getorders,getreports,getgoods,getcategories}